--
-- created with TexturePacker (http://www.texturepacker.com)
--
-- $TexturePacker:SmartUpdate:530dcd53dea8b7c6e4330da108cd4d47$
--
-- local sheetInfo = require("myExportedImageSheet") -- lua file that Texture packer published
--
-- local myImageSheet = graphics.newImageSheet( "ImageSheet.png", sheetInfo:getSheet() ) -- ImageSheet.png is the image Texture packer published
--
-- local myImage1 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name1"))
-- local myImage2 = display.newImage( myImageSheet , sheetInfo:getFrameIndex("image_name2"))
--

local SheetInfo = {}

SheetInfo.sheet =
{
    frames = {
    
        {
            -- buttonmask1-1
            x=90,
            y=204,
            width=86,
            height=86,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 85,
            sourceHeight = 85
        },
        {
            -- buttonmask1-2
            x=2,
            y=204,
            width=86,
            height=86,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 85,
            sourceHeight = 85
        },
        {
            -- buttonmask1-3
            x=116,
            y=2,
            width=112,
            height=112,

            sourceX = 28,
            sourceY = 28,
            sourceWidth = 167,
            sourceHeight = 167
        },
        {
            -- buttonmask2-1
            x=90,
            y=116,
            width=86,
            height=86,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 85,
            sourceHeight = 85
        },
        {
            -- buttonmask2-2
            x=2,
            y=116,
            width=86,
            height=86,

            sourceX = 0,
            sourceY = 0,
            sourceWidth = 85,
            sourceHeight = 85
        },
        {
            -- buttonmask2-3
            x=2,
            y=2,
            width=112,
            height=112,

            sourceX = 28,
            sourceY = 28,
            sourceWidth = 167,
            sourceHeight = 167
        },
    },
    
    sheetContentWidth = 256,
    sheetContentHeight = 512
}

SheetInfo.frameIndex =
{

    ["buttonmask1-1"] = 1,
    ["buttonmask1-2"] = 2,
    ["buttonmask1-3"] = 3,
    ["buttonmask2-1"] = 4,
    ["buttonmask2-2"] = 5,
    ["buttonmask2-3"] = 6,
}

function SheetInfo:getSheet()
    return self.sheet;
end

function SheetInfo:getFrameIndex(name)
    return self.frameIndex[name];
end

return SheetInfo
